// 按需导出

import request from '@/utils/request'

// 注册
export const register = (data) => request.post('/user/register', data)

// 登录
export const login = (data) => request.post('/user/login', data)

export const getUser = () => request.get('/user/currentUser')
